package org.zjx.resolution;

import lombok.Data;
import org.zjx.common.entity.Rect;

/**
 * 窗口上按钮 bean
 */
@Data
public class ResolutionButton {
    private Rect rect; //属性所在窗口的相对区域
    private String pattern; //按钮图案

    public ResolutionButton() {
    }

    public ResolutionButton(Rect rect) {
        this.rect = rect;
        pattern = null;
    }

    public ResolutionButton(Rect rect, String pattern) {
        this.rect = rect;
        this.pattern = pattern;
    }
}
